//
//  SceneryObjectLayer.h
//  Agility
//
//  Created by Dominique d'Argent on 27.04.11.
//  Copyright 2011 Nicky Nubbel. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
#import "SceneryObject.h"

//
// SceneryObjectLayer
//
// Draws scenery objects on screen and holds a reference to the model class.
//
@interface SceneryObjectLayer : CALayer {
    SceneryObject *sceneryObject;
}

@property (nonatomic, retain) SceneryObject *sceneryObject;

- (id)initWithSceneryObject:(SceneryObject *)newSceneryObject;
- (void)start;

@end
